﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetPE.Core;
using System.Windows.Forms;
using NetPE.Core.Pe;

namespace NetPE.TreeNodes
{
    public class VirtualSpaceNode : BaseNode
    {
        public VirtualSpaceNode(VirtualStream str)
            : base(str)
        {
            this.str = str;
            this.Text = "Virtual Space";
            this.ImageIndex = this.SelectedImageIndex = NodeType.Stream;
        }

        VirtualStream str;
        public override object Data { get { return str; } }

        public override BaseEditor GetEditorControl()
        {
            return new StreamHexEditor();
        }
    }
}
